home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 2.2 KB | 95 lines | [TEXT/MPS ] |
- //# Copyright: © 1993-1995 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _CANVASB_
- #define _CANVASB_
-
- #ifndef _ODOBJECT_
- #include "ODObject.idl"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODBaseCanvas;
-
- //==============================================================================
- // Classes used in this interface
- //==============================================================================
-
- interface ODPart;
- interface ODFacet;
- interface ODShape;
- interface ODTransform;
-
- //==============================================================================
- // ODCanvas
- //==============================================================================
-
- interface ODBaseCanvas : ODObject
- {
- ODBoolean HasPlatformCanvas( in ODGraphicsSystem g );
- ODPlatformCanvas GetPlatformCanvas( in ODGraphicsSystem g );
- void SetPlatformCanvas( in ODGraphicsSystem g, in ODPlatformCanvas c );
-
- ODBoolean HasPlatformPrintJob( in ODGraphicsSystem g );
- ODPlatformPrintJob GetPlatformPrintJob( in ODGraphicsSystem g );
- void SetPlatformPrintJob( in ODGraphicsSystem g, in ODPlatformPrintJob j );
-
- ODPart AcquireOwner( );
- void SetOwner( in ODPart owner);
-
- ODFacet GetFacet( );
- void SetFacet( in ODFacet facet);
-
- ODTransform AcquireBiasTransform( );
- void SetBiasTransform( in ODTransform x );
-
- ODBoolean IsDynamic( );
- ODBoolean IsOffscreen( );
-
- ODShape AcquireUpdateShape( );
- void ResetUpdateShape( );
-
- void Invalidate( in ODShape shape);
- void Validate( in ODShape shape);
-
-
- #ifdef __SOMIDL__
- implementation
- {
- override:
- somUninit;
-
- releaseorder:
- HasPlatformCanvas,
- GetPlatformCanvas,
- SetPlatformCanvas,
- HasPlatformPrintJob,
- GetPlatformPrintJob,
- SetPlatformPrintJob,
- AcquireOwner,
- SetOwner,
- GetFacet,
- SetFacet,
- IsDynamic,
- IsOffscreen,
- AcquireUpdateShape,
- ResetUpdateShape,
- AcquireBiasTransform,
- SetBiasTransform,
- Invalidate,
- Validate,
- reserved1,
- reserved2;
-
- majorversion = 1; minorversion = 0;
-
- functionprefix = ODBaseCanvas__;
-
- };
- #endif
- };
-
- #endif //# _CANVASB_
-